<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
分页功能：
循环状态，默认名字是变量名+Stat 例如stuStat,共有 <span th:text="${stus.totalElements}"></span><br>
<body>
<p th:each="stu:${stus}">
    <span th:text="${stuStat.even}"></span>
    <span th:text="${stuStat.index}"></span>
<span th:text="${stu.id}"></span>
<span th:text="${stu.name}"></span>
<span th:text="${stu.java}"></span>
</p>

<a th:href="@{/stu/page(page=${stus.number - 1})}" th:unless="${stus.first}">prev</a>
<a th:href="@{/stu/page(page=${stus.number+1})}" th:unless="${stus.last}">next</a>

</body>
</html>